package com.sz.sendmsg.dao;

import com.sz.sendmsg.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;
@Mapper
public interface PermissionDao {
    /**
     *
     * @param userid
     * @return
     */
    Set<String> getPermission(@Param("id") String id);

    /**
     *
     * @param userid
     * @return
     */
    List<Permission> getPermissionByList(@Param("id") String id);

    /**
     *
     * @return
     */
    List<Permission> getPermissionAll();
}
